package com.lqq.springcloud.myhandler;

import com.alibaba.csp.sentinel.slots.block.BlockException;
import com.lqq.springcloud.entities.CommonResult;


public class CustomerBlockHandler{
    public static CommonResult handleException1(BlockException exception) {
        return new CommonResult(444, "自定义global block handler ------1");
    }

    public static CommonResult handleException2(BlockException exception) {
        return new CommonResult(444, "自定义global block handler ------2");
    }
}
